package com.bj.dz.service;

import com.bj.dz.entity.ReleaseTask;
import com.bj.dz.util.Page;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* Created by lule on 2020/3/8.
*/
public interface ReleaseTaskService {

    public ReleaseTask getReleaseTaskById(Integer id);

    public List<ReleaseTask> getReleaseTaskListByMap(Map<String, Object> param);

    public Integer getReleaseTaskCountByMap(Map<String, Object> param);

    public boolean addReleaseTask(ReleaseTask releaseTask);

    public boolean modifyReleaseTask(ReleaseTask releaseTask);

    public boolean deleteReleaseTaskById(Integer id);

    public Page<ReleaseTask> queryReleaseTaskPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize);

    public boolean uploadUserTask(Integer taskId, Integer userId, String url, Date nowDate);
}
